/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package post2;

import java.math.BigDecimal;

/**
 *
 * @author danielcalvo
 */
public class ProductSpec {
    private String description;
    private BigDecimal price;
    private String upc;
    
    public ProductSpec(){
        
    }
    
    public ProductSpec(String description, BigDecimal price, String upc){
        this.upc = upc;
        this.description = description;
        this.price = price;
    }
   
    public void setDescription(String description){
        this.description = description;
    }
            
    public String getDescription(){
        return this.description;
    }
    
    public void setPrice(BigDecimal price){
        this.price = price;
    }
    
    public BigDecimal getPrice(){
        return this.price;
    }
    
    public void setUPC(String upc){
        this.upc = upc;
    }
    
    public String getUPC(){
        return this.upc;
    }
}
